<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
    <title>注册</title>
</head>

<link rel="stylesheet" href="/firstdemo/CSS/w3.css">
<link rel="stylesheet" href="/firstdemo/CSS/google.css">
<link rel="stylesheet" href="/firstdemo/fontawesome/css/all.css">
<style>
    html,body,h1,h2,h3,h4,h5 {font-family: "Raleway", sans-serif}
</style>

<body>
<header class="w3-container w3-teal">
    <h1>学生注册</h1>
</header>


<div class="w3-container  w3-padding-24">

    <form action="Register"  method="post">

        <label class="w3-text-teal"> 输入用户名 </label>
        <label>
            <input class="w3-input w3-animate-input" type="text" name="name" value="" style="width:30%">
        </label>

        <div class="w3-bar w3-padding-16"></div>

        <label class="w3-text-teal"> 输入密码 </label>
        <label>
            <input class="w3-input w3-animate-input" type="password" name="pwd" value="" style="width:30%">
        </label>

        <div class="w3-bar w3-padding-16"></div>

        <label class="w3-text-teal"> 选择性别 </label>
        <br>
        <input class="w3-radio" type="radio" checked="checked" name="sex" value="男">
        <label>男</label>

        <input class="w3-radio" type="radio" name="sex" value="女">
        <label>女</label>

        <input class="w3-radio" type="radio" name="sex" value="其他" disabled>
        <label>其他</label>

        <div class="w3-bar w3-padding-16"></div>

        <!--
        <label>
            <input class="w3-input w3-radio" name="sex" value="男" checked >
            <input class="w3-input w3-radio" name="sex" value="女"  >
        </label>
        -->
        <br>
        <label class="w3-text-teal"> 选择家乡 </label>
        <br>
        <select class="w3-select" name="home" style="width: 10%">
            <option value="" disabled selected>选择家乡</option>
            <option value="上海">上海</option>
            <option value="北京">北京</option>
            <option value="纽约">纽约</option>
        </select>

        <div class="w3-bar w3-padding-16"></div>

        <br>
        <label class="w3-text-teal"> 填写个人信息 </label>
        <br>
        <label>
            <input class="w3-input w3-animate-input" type="text" name="info" value="" style="width:30%">
        </label>

        <div class="w3-bar w3-padding-16"></div>

        <div class="w3-bar w3-row-padding">
            <div class="w3-bar-item" style="width:10%">
                <button class="w3-button w3-input w3-teal" type="submit"value="注册"name="denglu">注册</button>
            </div>
            <div class="w3-bar-item" style="width:10%">
                <button class="w3-button w3-input w3-red" type="reset"value="重置">重置</button>
            </div>
        </div>

    </form>
</div>

<div class="w3-container w3-teal">
    <h5>欢迎进入教学管理平台</h5>
    <p>如有问题，请联系管理员17005023@buaa.edu.cn</p>
</div>

<!--
<form action="Register" method="post" style="padding-top:-700px;">
    输入用户名:<input name="name" type="text"><br><br>
    输入密码:<input name="pwd" type="password"><br><br>
    选择性别:<input type="radio"name="sex"value="男"checked>男
    <input type="radio"name="sex"value="女">女<br><br>
    选择家乡:
    <select name="home">
        <option value="上海">上海</option>
        <option value="北京" selected>北京</option>
        <option value="纽约">纽约</option>
    </select><br>
    填写个人信息:<br>
    <textarea name="info" row="5"cols="30"></textarea><br>
    <input type="reset"value="重置"><input type="submit"value="注册">
</form>
-->

</body>
</html>